package com.kw.pojo;
import javax.sql.*;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by Medivh on 2020/5/7.
 * 愿我出走半生,归来仍是少年
 */
public class Configuration {
    private DataSource dataSource;
    /*
     *  key mappedStatementId
     *  Map MappedStatement
     */
    Map<String,MappedStatement> mappedStatementMap = new HashMap<>();


    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    public Map<String, MappedStatement> getMappedStatementMap() {
        return mappedStatementMap;
    }

    public void setMappedStatementMap(Map<String, MappedStatement> mappedStatementMap) {
        this.mappedStatementMap = mappedStatementMap;
    }
}
